package cn.tanghom.app.oa.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

import lombok.Data;

import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 职位必须项和优先项调研
 * Created by chenbingwen on 18/4/17.
 */
@Document(collection = "tb_position_survey")
@Data
public class PositionSurvey implements Serializable {
    private static final long serialVersionUID = -2812665713708452758L;
    
    @Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "ID", unique = true)
	private Long id;// ID
    
    public PositionSurvey(Long id){
    	this.id = id;
    }
    
    private PositionSurvey(){
    	
    }

    private boolean collegeRequired;// 211 985 院校

    private boolean degreeRequired = true;// 学历

    private boolean targetCompanyRequired = true;// 目标公司

    boolean workExpRequired = true;   
    
    boolean ageRequired = true;
    boolean genderRequired = true;
    
    boolean workStabilityRequired = false;  
    
    boolean fieldDirectionBgRequired = false;
    
    boolean productTypeRequried = false;
    
}
